package com.ms3ds.mineInfo.api;

import com.ms3ds.common.core.constant.ServiceNameConstants;
import com.ms3ds.common.core.domain.R;
import com.ms3ds.mineInfo.api.domain.Mine;
import com.ms3ds.mineInfo.api.domain.OreType;
import com.ms3ds.mineInfo.api.factory.RemoteMineFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 矿山信息服务
 * 
 * @author zlw
 */
@FeignClient(contextId = "remoteOreTypeService", value = ServiceNameConstants.MINEINFO_SERVICE, fallbackFactory = RemoteMineFallbackFactory.class)
public interface RemoteOreTypeService
{

    @GetMapping("/oreType/getOreTypeByIdForremote")
    public R<OreType> getOreTypeByIdForremote(@RequestParam("oreTypeId") Long oreTypeId);

}
